package com.ibiaoke.goods.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class XcxShopPrice implements Serializable {
    /**
     * 店铺商品信息
     */
    private Integer shopPriceId;

    /**
     * 店铺id
     */
    private Integer shopId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 商品名
     */
    private String goodsName;

    /**
     * 商品单位
     */
    private String spec;


    private Integer count;

    /**
     * 库存量
     */
    private Double stockNum;

    /**
     * 单独购买价
     */
    private BigDecimal price;

    /**
     * 拼团原价
     */
    private BigDecimal ptPrice;

    /**
     * 商品原价
     */
    private BigDecimal oldPrice;

    /**
     * 配送类型(0.全部 1.快递 2.自提)
     */
    private Byte deliveryType;

    /**
     * 配送费
     */
    private Long deliveryPrice;

    /**
     * 拼团类型(1:两人团、2:四人团、3:十人团)
     */
    private Byte ptType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 分组id
     */
    private Integer groupId;

    private GoodsUnit goodsUnit;

    private static final long serialVersionUID = 1L;

    public Integer getShopPriceId() {
        return shopPriceId;
    }

    public void setShopPriceId(Integer shopPriceId) {
        this.shopPriceId = shopPriceId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getStockNum() {
        return stockNum;
    }

    public void setStockNum(Double stockNum) {
        this.stockNum = stockNum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPtPrice() {
        return ptPrice;
    }

    public void setPtPrice(BigDecimal ptPrice) {
        this.ptPrice = ptPrice;
    }

    public BigDecimal getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(BigDecimal oldPrice) {
        this.oldPrice = oldPrice;
    }

    public Byte getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(Byte deliveryType) {
        this.deliveryType = deliveryType;
    }

    public Long getDeliveryPrice() {
        return deliveryPrice;
    }

    public void setDeliveryPrice(Long deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
    }

    public Byte getPtType() {
        return ptType;
    }

    public void setPtType(Byte ptType) {
        this.ptType = ptType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public GoodsUnit getGoodsUnit() { return goodsUnit; }

    public void setGoodsUnit(GoodsUnit goodsUnit) {
        this.goodsUnit = goodsUnit;
    }
}